Fixed a couple errors, but rook and bishop calculations still do not work.