Simulation of satellite attitude dynamics, determination and control using simulink; considering sensor errors